package com.zqq.goods.service.api

import com.zqq.baselibrary.http.rx.BaseResp
import com.zqq.goods.service.bean.Category
import com.zqq.goods.service.bean.GetCategoryReq
import retrofit2.http.Body
import retrofit2.http.POST
import rx.Observable

/**
 * 商品分类接口
 * wc
 * @author zqq on 2018/8/1
 */
interface CategoryApi {

    /**
     * 获取商品分类列表
     */
    @POST("category/getCategory")
    fun getCategory(@Body req: GetCategoryReq): Observable<BaseResp<MutableList<Category>?>>


}

